﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EulerLib;

namespace Problem10
{
    class Program
    {
        static void Main(string[] args)
        {
            var primes = EulerUtils.GeneratePrimesUpTo(2000000);

            Console.WriteLine(primes.Sum());
            Console.ReadKey();
        }
    }
}
